package io.bdmc.modules.bss.service;

import io.bdmc.modules.bss.entity.SmkDevice;
import io.bdmc.modules.bss.entity.SmkShop;
import io.bdmc.modules.bss.model.LabelValue;
import io.bdmc.modules.bss.model.ShopLocation;
import io.bdmc.modules.bss.model.ShopParam;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import io.bdmc.common.utils.MyPage;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huang lu
 * @since 2019-01-21
 */
public interface ISmkShopService extends IService<SmkShop> {
    public MyPage<SmkShop> mySelectPage(MyPage<SmkShop> page,ShopParam shopParam);

    List<LabelValue> mySelectByDept(MyPage<SmkShop> page, ShopParam shopParam);

    List<ShopLocation> myLocations( Long deptId);

    Long countByDepId(Long deptId);

    MyPage<ShopLocation> getByDepId(MyPage<SmkShop> myPage,ShopParam shopParam);
    
    List<Map<String, Object>> getShopLatLng(Long deptId);

    Boolean updateShopAndDevDept(SmkShop shop,List<SmkDevice> devs);
}
